package pkg

import "regexp"

func Tel(s string) bool {
	re := regexp.MustCompile("^1[3-9][0-9]{9}$")
	return re.MatchString(s)
}

func Email(s string) bool {
	re := regexp.MustCompile(`^\d+(@+\.com)$`)
	return re.MatchString(s)
}
